package com.koron.ticket.line.work.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TicketNodeStatus {

    /**
     * 与数据字典risk_ticket_work_status保持一致
     */
    WRITE(1, "draft-WRITE"),//填写
    SIGN(2, "SIGN"),//待签发
    COUNTERSIGN(3,"COUNTERSIGN"),//待会签
    ACCEPT(4, "ACCEPT"),//待接受
    PERMIT(5, "PERMIT"),//待许可
    EXECUTE(6, "EXECUTE"),//工作执行
    WORK_END(7, "WORK_END"),//工作待终结
    TICKET_END(8, "TICKET_END");//工作票待终结

    /**
     * 工作票状态
     */
    private Integer status;
    /**
     * 工作票状态名称
     */
    private String nodeName;

}
